package com.example.zhongyingkaoshi.entity;

import java.time.LocalDate;

// 自定义类来封装考试信息
public class ExamInfo {
    private LocalDate date;
    private String examinee;
    private String subject;
    private double score;

    public ExamInfo(LocalDate date, String examinee, String subject, double score) {
        this.date = date;
        this.examinee = examinee;
        this.subject = subject;
        this.score = score;
    }

    public LocalDate getDate() {
        return date;
    }

    public String getExaminee() {
        return examinee;
    }

    public String getSubject() {
        return subject;
    }

    public double getScore() {
        return score;
    }
}
